package cn.hp.mapper;

import cn.hp.entity.Announcement;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AnnouncementMapper {
    List<Announcement> findAnnouncement(Announcement announcement);

    int insertAnnouncement(Announcement announcement);

    int deleteAnnouncementByid(Integer id);

    int updateAnnouncement(Announcement announcement);
}
